﻿@model PraceDyplomowe2.Models.UserProfile

@{
    ViewBag.Title = "Mój Profil";
}

@section featured
{
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
            </hgroup>
        </div>
    </section>
}
<section class="Dane student">
        <div id="zapisany" class="float-right">
        <h4>@Html.DisplayNameFor(student => student.ZapisanyNaTemat)</h4>
    
        @if (Model.ZapisanyNaTemat == null)
        {
            @Html.Display("brak")
        }
        else
        {
            @Html.ActionLink(Model.ZapisanyNaTemat.PolskiTytul, "Details", "Tematy", new { id = Model.ZapisanyNaTemat.TematId }, null)
        }
    </div>

    <table class="czysc-float">
            <tr>
                <th>
                    @Html.DisplayNameFor(student => student.Imie)
                </th>
                <th>
                    @Html.DisplayNameFor(student => student.Nazwisko)
                </th>
            </tr>
            <tr>
                <td>
                    @Html.DisplayFor(student => student.Imie)
                </td>
                <td>
                    @Html.DisplayFor(student => student.Nazwisko)
                </td>
            </tr>
    </table>

    <table>
        
        <tr>
            <th>
                @Html.DisplayNameFor(student => student.KierunekStudiow)
            </th>
        </tr>
        <tr>
            <td>
                @Html.DisplayFor(student => student.KierunekStudiow.Nazwa)
            </td>
        </tr>
        <tr>
            <th>
                @Html.DisplayNameFor(student => student.PoziomStudiow)
            </th>
        </tr>
        <tr>
            <td>
                @Html.DisplayFor(student => student.PoziomStudiow.Nazwa)
            </td>
        </tr>
        
    </table>
</section>